/**
 * 项目请求code设置
 * */

const wCode = 'platform_code'

// 获取
export function getCode() {
  return window.localStorage.getItem(wCode)
}

// 设置
export function setCode(code) {
  window.localStorage.setItem(wCode, code)
}

// 删除
export function removeCode() {
  window.localStorage.removeItem(wCode)
}
